/**
 * Created by XiaAo on 2017/4/20.
 * function :实验室成果路由配置
 * author ：xiaao
 * data : 2017-4-20
 */

var ngModuleAchievement = angular.module("ngModule_Achievement", []);

ngModuleAchievement.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {

    $urlRouterProvider.otherwise("");

    $stateProvider
        .state('achievement', {
            url: '/achievement',
            templateUrl: '../View/ui-view/achievement/achievement.html',
            controller:'achievementCtrl'
        })
        .state('achievement.paper', {
            url: '/paper',
            templateUrl: '../View/ui-view/achievement/paper.html',
            controller:'paperCtrl'
        })
        .state('achievement.patent', {
            url: '/patent',
            templateUrl: '../View/ui-view/achievement/patent.html',
            controller:'patentCtrl'
        })
        .state('achievement.softened', {
            url: '/softened',
            templateUrl: '../View/ui-view/achievement/softened.html',
            controller:'softtenedCtrl'
        })

        .state('achievement.reward', {
            url: '/reward',
            templateUrl: '../View/ui-view/achievement/reward.html',
            controller:'rewardCtrl'
        })


}]);

//module名暴露给require
module.exports = ngModuleAchievement;

